home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 25 / MacFormat n. 25 (Spain) / MacFormat 25.bin / mac / Demos / Print Artist Demo / PA12-Mac.Dxr / 00132.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  553 b   |  26 lines

  1. on exitFrame
  2.   global playMode, loadNext, mainPageWait, subPageWait
  3.   startTimer()
  4.   puppetSound(0)
  5.   if (playMode = "64KMemOK") or (playMode = "PPCMemOK") then
  6.     if loadNext = 0 then
  7.       nothing()
  8.     else
  9.       if loadNext = 1 then
  10.         unLoadCast()
  11.         preLoad(label("Cal4"), label("Cal4") + 5)
  12.       end if
  13.     end if
  14.     if the timer < subPageWait then
  15.       wait(subPageWait - the timer)
  16.     end if
  17.     startTimer()
  18.     go(#next)
  19.   else
  20.     unLoadCast()
  21.     preLoad(label("Cal4"), label("Cal4"))
  22.     wait(30)
  23.     go(#next)
  24.   end if
  25. end
  26.